package com.work.db.entity;

import java.io.Serializable;

import javax.persistence.*;

@Entity
@Table(name = "PROJECT")
public class Project extends BaseEntity implements Serializable {

	@Transient
	private static final long serialVersionUID = 2265111066090391417L;
	
	@Column(name = "TITLE")
	private String title;
	
	@ManyToOne
	private Client client;

	public Project()
	{
		super();
	}
	
	public Client getCompany()
	{
		return client;
	}

	public void setCompany(Client company)
	{
		this.client = company;
	}

	public String getTitle()
	{
		return title;
	}

	public void setTitle(String title)
	{
		this.title = title;
	}

}
